<%@ page import="rentadomus.BehaviourRule" %>



<div class="fieldcontain ${hasErrors(bean: behaviourRuleInstance, field: 'rule', 'error')} required">
	<label for="rule">
		<g:message code="behaviourRule.rule.label" default="Rule" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="rule" required="" value="${behaviourRuleInstance?.rule}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: behaviourRuleInstance, field: 'contract', 'error')} required">
	<!--<label for="contract">
		<g:message code="behaviourRule.contract.label" default="Contract" />
		<span class="required-indicator">*</span>
	</label>-->
	<g:select style="visibility:hidden;" id="contract" name="contract.id" from="${rentadomus.Contract.list()}" optionKey="id" required="" value="${behaviourRuleInstance?.contract?.id}" class="many-to-one"/>
</div>

